package cn.lili.modules.member.fallback;

import cn.lili.common.exception.ServiceException;
import cn.lili.modules.member.client.UserAddressClient;
import cn.lili.modules.member.entity.dos.UserAddress;
import cn.lili.modules.member.entity.dto.AddressSearchParams;

/**
 * @author: ftyy
 * @date: 2022-01-13 15:43
 * @description: 用户收货地址 Fallback
 */
public class UserAddressFallback implements UserAddressClient {
    @Override
    public UserAddress getUserDefaultAddress(String memberId) {
        throw new ServiceException();
    }

    @Override
    public UserAddress getAddressById(String id) {
        throw new ServiceException();
    }

    @Override
    public UserAddress getAddressByIdNoAuth(String id) {
        throw new ServiceException();
    }

    @Override
    public UserAddress getByParams(AddressSearchParams addressSearchParams) {
        throw new ServiceException();
    }
}
